﻿using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Exporters;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Toolchains.CsProj;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BenchMarkTest.BenchCase
{
    /// <summary>
    /// 多运行时测试配置
    /// </summary>
    public class MultipleRuntimes : ManualConfig
    {
        public MultipleRuntimes()
        {
            AddJob(Job.Default.WithToolchain(CsProjCoreToolchain.NetCoreApp60)); // .NET6.0
            AddJob(Job.Default.WithToolchain(CsProjClassicNetToolchain.Net472)); // NETF 4.7.2
            AddJob(Job.Default.WithToolchain(CsProjCoreToolchain.NetCoreApp50)); // NET5

            AddExporter();
        }
    }
}
